package com.bzframework.project.api.model.request;

import lombok.Getter;

import java.util.HashMap;

@Getter
public class RequestBodyOption {

    private BodyTypes bodyType = BodyTypes.NONE;

    private RequestBodyTypes requestBodyType = RequestBodyTypes.JSON;

    private Object requestBody = new HashMap<>();

    public enum BodyTypes {

        NONE,
        URLENCODED,
        FORM_DATA,
        BINARY,
        RAW,

    }

    public enum RequestBodyTypes {

        JSON,
        XML,
        JAVASCRIPT,
        PLAIN,
        HTML,

    }
}